Method and apparatus for calculating a laser shot file for use in an excimer laser

ABSTRACT

The invention relates to a method and apparatus for calculating a laser shot file for use in an excimer laser comprising the steps of providing information with respect to a desired ablation profile, calculating the shot density of the desired ablation profile, using a cost function for placing laser shots of the excimer laser on grid positions wherein a threshold value is determined based on the calculated shot density of the desired ablation profile.

FIELD OF THE INVENTION

The present invention relates to a method and apparatus for calculating a laser shot file for use in an excimer laser in particular using a dithering algorithm. The invention is specifically suitable for applying the laser shot file when performing a laser treatment of an eye or when producing a customized contact lens or an intraocular lens (IOL) by laser ablation.

DESCRIPTION OF THE RELATED ART

U.S. Pat. No. 6,090,100 relates to an excimer laser system for correction of vision with reduced thermal effects. It specifically relates to an apparatus and method for controlling the excimer laser system for removing tissue from the eye to perform various types of corrections, such as myopia, hyperopia, and astigmatism correction. In one disclosed embodiment, the excimer laser system provides a relatively large spot size which provides a relatively large coverage of treatment area per shot. While using such large spot sizes, the shots are generally not “adjacent” to each other but instead overlap to generate the desired degree of ablation at a particular point. For calculating the result of the overlapping shots, an algorithm is used. In one method of calculating treatment patterns using large, fixed spot sizes distributed throughout the treatment area, a dithering algorithm is used. Specific reference is made to a rectangular dithering, circular dithering and a line-by-line oriented dithering. Using any variety of shot dithering methods, an array of shots is created for a fixed spot size spread over a treatment area to correct to the desired degree of ablation. For the respective array, a grid is used with a constant grid width between individual grid positions. With the known dither methods, the shape of the desired ablation profile, which usually is a continuous profile, has to be transferred into a whole-numbered discrete density distribution. Here, the continuous profile represents a planned ablation and the whole-numbered discrete density distribution represents a series of ablating flying spot laser pulses. The residual structure, i.e., the difference between the planned and the achieved profile, has to be minimised. Exact solutions can principally be found numerically but not in a reasonable time. Therefore, for this purpose, dither algorithms are used. The profile is discretised on a given grid. Using a cost function or merit function the algorithm decides for each position of the grid whether to place a shot or not. For this decision, usually only a few neighbouring positions of the grid are taken into account. This dither algorithm saves calculation time without the need that the real size of the spot is taken into account. It is sufficient to know the shot volume which is ablated with one laser shot. However, under certain conditions, the known dither algorithms produce artefacts in parts of the profile, e.g., in low-density regions where the next neighbouring shot is too far away. Artefacts may also be produced in high-density regions where at nearly every position, a shot is placed. The positions with no shot also have too large a distance for the assumption that only a few neighbour positions are necessary.

As regards the general background of dithering algorithms, reference is made to U.S. Pat. No. 6,271,936 B 1, which relates to the field of digital image processing. It particularly relates to a method for digitally multitoning a continuous-tone image using error diffusion, dithering and over-modulation methods. Reference is made to the problem that an artefact may occur like worms which are formed when the black or white output pixels appear to string together in an area that should be otherwise uniform. Wherein this US patent gives a detailed description of these known methods, it is related to a completely different technical field. Among other differences, known laser printer systems are using a respective fixed resolution given as a number of dots per inch, i.e., a higher number of dots per inch results in a better resolution. Moreover, a known laser printer has no problem with overlapping and touching dots because this does not result in an additional blackening when hitting a point twice or more often. Rather, to produce an image, a certain local area of the image having a certain grey level can be created by applying a corresponding number of dots in this local area.

SUMMARY OF THE INVENTION

The object underlying the present invention is to provide a method and apparatus for calculating a laser shot file for use in a refractive excimer laser, wherein the difference between the planned and the achieved profile is minimised. This object is solved with the features of the claims.

A desired ablation profile for correcting for example myopia has a maximum shot density in the central part of the treatment zone whereas a minimum shot density is present along the circumferential border of the treatment zone. Thus, the number of laser shots to be applied to the central part of the treatment zone is higher than in other sub-areas in particular along the border of the treatment zone.

For the correction of for example, hyperopia the minimum shot density is present in the central part of the treatment zone. On the other hand, the ablation profile requires a higher number of laser shots along a circumferential border of the treatment zone.

The invention is generally applicable for any ablation profile, wherein sub-areas having different shot densities are investigated in order to determine any sub-area having a maximum shot density and/or any sub-area having a minimum shot density.

The general concept of the present invention is based on the idea to adapt the dither algorithm which is used for placing laser shots of the excimer laser when discretizing a given ablation profile on a given grid. Using a cost function the dither algorithm decides for each position of a grid whether to place a shot. More specifically, the shot density for obtaining a predetermined desired ablation profile is calculated first. Depending on the calculated shot density of the desired ablation profile, the dither algorithm is adapted by using a dynamic threshold value being used in a cost function for the shot calculation.

According to a preferred embodiment of the present invention, the threshold value is selected from at least two different threshold values depending on the minimum shot density and/or maximum shot density of the desired ablation profile. Generally, for a desired ablation profile having low shot densities, a lower threshold value is used. For a desired ablation profile having high shot densities, a higher threshold value is used.

According to a preferred embodiment of the present invention, a first threshold value is a value within the range of 0% to 20% of the maximum shot density of the ablation profile. Alternatively or in addition a second threshold value is a value within the range of 20% to 80% of the maximum shot density. Alternatively or in addition a third threshold value is a value within the range of 80% to 100% of the maximum shot density.

According to a further preferred embodiment of the present invention, more than three different threshold values are used and more preferably the threshold value “TV(x, y)” is related to the shot density “D(x, y)” according to the following equation (1):

TV(x,y)=f(D(x,y))  (1)

More preferably, there is a linear relationship between the threshold value “TV(x, y)” and “D(x, y)” according to the following equation (2):

TV(x y)=a·D(x,y)  (2),

wherein “a” is a positive factor within the range of 0<a≦1.5 and wherein “x” and “y” are the coordinates of the grid position for which the calculation is made.

Preferably, the threshold value is set for each grid position in correspondence to the density function. More preferably, the threshold value is set to a value equal to or nearby the value of the density function at a respective grid position.

The threshold value is preferably at least a value within the range of 80% to 110%, more preferably of 90% to 100% of the value of the density function at a respective grid position. Thus, the factor “a” of equation (1) is a value preferably within the range of 0.8 to 1.1, more preferably of 0.9 to 1.0. Best results can be achieved with a=1.

A local shot density D(x, y) within a sub-area around a grid position P(x, y) is calculated from an ablation profile z(x, y) within the respective sub-area using the ablation volume of a single laser shot V_(Shot) and a given width G using following equation:

D(x,y)=z(x,y)*G² /V _(Shot)  (3)

According to a preferred embodiment, a dither algorithm is used for calculating the placement of the laser shots of the excimer laser on grid positions. The dither algorithm is adapted to the desired ablation profile by determining the optimised grid width for the grid to be used for the dither algorithm. For a more detailed description of this aspect to optimize the grid width, reference is made to the co-pending patent application of the present applicant with the title “Method and apparatus for calculating a laser shot file for use in a refractive excimer laser”.

According to a preferred embodiment, with following equation the grid width is found for a maximum value of the Profile z_(max)(x, y) and for a desired maximum density D_(max)(x, y):

G=√{square root over (V _(Shot) ·D _(max() x,y)/z _(max() x,y))}{square root over (V _(Shot) ·D _(max() x,y)/z _(max() x,y))}  (4)

With equation 3 the local shot density around the minimum of the desired profile is calculated with a given grid width. Preferably the grid width is calculated with equation 4. The influence of the dynamic threshold is explained using two examples. As a first example a treatment using a treatment zone of about 5.5 mm for a desired correction of +4 dpt is selected. This hyperopia correction has the maximum of the ablation along an annular portion circumfering the centre. The desired depth is approximately 26 μm. About 445 laser shots are necessary to reach a result with a typical excimer treatment laser. To get shot densities along the annular portion of about 18% a grid width of 98 μm is chosen. In this example an ablation is calculated using a constant threshold. In a second example of an ablation the treatment zone is again 5.5 mm and the correction is +4 dpt. The desired maximum depth is also about 26 μm and about 445 laser shots are needed. For the second example, a dynamic threshold is used. The second example shows the advantage to use a dynamic threshold when calculating the ablation.

According to a further preferred embodiment, a desired ablation profile is divided into at least two ablation sub-profiles. Then for each ablation sub-profile, the respective shot density is calculated and a respective grid width based on the respective calculated density of the ablation sub-profile is determined. Each sub-profile is calculated using the dynamic threshold. Thus, for a desired ablation profile where the contrast is too high, i.e., a difference between the maximum shot density and the minimum shot density is too high, the calculation of the laser shot file is made in two or more runs preferably using different grid constants or grid widths for each respective ablation sub-profile resulting in a corresponding laser shot file. Thereafter, the two or more laser shot files can be combined in one single laser shot file.

According to the present invention, the calculated, placed laser shots are processed in a further step of sorting to obtain a laser shot sequence. The sorting is performed taking into consideration that any thermal effects should be avoided, i.e., two consecutive laser shots are preferably placed on different grid positions in the treatment zone which are at a distance from each other.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will be further described by way of examples with reference to the drawings, in which:

FIG. 1A is a diagram showing the location of laser spots for a first test using a constant threshold value,

FIG. 1B is a diagram showing the planned and the achieved profile as a cross-section along the horizontal axis of FIG. 1A,

FIG. 1C is a diagram showing the planned and the achieved profile as a cross-section along the vertical axis of FIG. 1A,

FIG. 2A is a diagram showing the location of laser spots for a second test using a dynamic threshold value according to a preferred embodiment of the present invention,

FIG. 2B is a diagram showing the planned and the achieved profile as a cross-section along the horizontal axis of FIG. 2A,

FIG. 2C is a diagram showing the planned and the achieved profile as a cross-section along the vertical axis of FIG. 2A,

FIG. 3 shows a flow diagram with a calculation of laser pulse patterns with a dither algorithm, and

FIG. 4 shows an example of a sub-grid with weighting factors usable for weighting neighbouring error values.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

FIGS. 1A, 1B and 1C show the simulated calculation of a laser shot file for use in an excimer laser for the correction of hyperopia with a value of about +4 dioptres, using a typical excimer laser for refractive treatments, within a treatment zone having a diameter of 5.5 mm and using a laser spot having a diameter of 1 mm. In this simulated first test, the grid width is 98 μm. Thus, the distance between two neighbour grid points is 98 μm. In this example, the grid points are arranged in rows and columns. In total, 445 laser shots are used for achieving the ablation. Depending on the ablated volume of a single shot the resulting treatment is expected to have a refraction of said about +4 dioptres. The diagram of FIG. 1A shows the respective centre position of each of the 445 laser shots which is related to one of the grid positions each marked with a “+”-sign. In the upper right corner of FIG. 1A, the grid is schematically shown having a grid width of 98 μm. Each of the shown laser shot centre positions are arranged on a grid point of this grid. The diagram of FIG. 1B shows, as a dashed line, the desired ablation profile, i.e., the ablation depth in μm with respect to a respective X-position. The ablation depth is approximately 26 μm in an annular portion of the treatment zone at about the x-positions −2 and +2 and is smaller in the centre portion and at both sides. The ablation depth is almost zero in the centre portion. It further shows the simulated resulting ablation profile as a continuous line as a cross-section taken along the horizontal axis through the point 0-0 in FIG. 1A. Similarly, FIG. 1C shows the desired ablation profile as a dashed line which is taken as a cross-section along the vertical axis through the point 0-0 in FIG. 1A. FIG. 1C further shows the resulting ablation profile as a continuous line taken as a cross-section along the vertical axis through point 0-0 of FIG. 1A. In FIG. 1 the average shot density inside the treatment zone, having in this example a diameter of 5.5 mm, is about 18% (FIG. 1A). The respective centre positions of the laser shots are placed within a range of ±2.7 mm in the X-direction and ±2.7 mm in the Y-direction.

FIGS. 2A, 2B and 2C show the results of a similar second test as in FIGS. 1A, 1B and 1C except for using a dynamic threshold. More specifically in this test the shot density D(x, y) has been used as the threshold value TV(x, y). Thus, the factor“a” in the above equation (2) is selected as a=1.

The use of a constant threshold value for the first test causes artefacts like the linewise arrangement of laser shot positions in the lower part of the ablation (FIG. 1A). For example, as shown, several laser shots are provided at grid positions which are arranged along a horizontal bottom line at a closer distance. Further laser shots are provided at grid positions which are arranged at a larger distance from this horizontal bottom line. Thus, the laser shots are not provided in an equal manner resulting in a deviation from the desired ablation profile (see FIG. 1C).

A comparison of the Figures for the first test and the second test shows that the resulting ablation profile in the second test is better, i.e., the curve of the resulting ablation profile better follows to the curve of the desired ablation profile (see FIGS. 2B and 2C). In particular, FIG. 1C shows that the resulting ablation profile deviates from the desired ablation profile, i.e., there is a shift with respect to the right part of the desired ablation profile. The dither algorithm produces artefacts in parts of the resulting ablation profile which may depend on the order of the calculation of the laser shots for respective grid positions. In regions with gradients in shot density, the shots are shifted. The shift depends on the depth of the desired ablation. Additionally, artefacts called worms may be introduced.

By using a dither algorithm, the input parameters are the shot volume of a laser shot and the desired ablation profile. There is no need to take the beam diameter into account as the dither algorithm works independently therefrom. The dither algorithm provides a laser shot file as an output. More specifically, the dither algorithm is used for the placement of laser shots of the excimer laser on grid positions. Preferably, a cost function is used for deciding for each grid position whether a laser shot is placed or not. Herein, preferably the decision is made with regard to whether one or more laser shot(s) is (are) placed at a grid position(s) within the neighborhood of the given grid position. Preferably, a dither algorithm is used as disclosed in U.S. Pat. No. 6,090,100.

In the following a preferred dithering algorithm will be described with reference to FIG. 3 which shows a flow chart representing an example for the error diffusion. This dither algorithm is based on the concept of error diffusion. Prior to the step of error diffusion, the desired ablation profile is calculated based, e.g., on the desired correction of a patient's eye or the modification of contact lenses or of IOLs. This profile is stored within a grid having a specific grid width. For example, such a grid has 256×256 values which covers an area of 15² mm². The error diffusion may be started in one edge within that grid and follows it line by line.

In a first step S1, the ablation profile and the dynamic threshold is determined using equation 1 and the active dither position is set to a point in one of the edges of the grid. Optionally, a desired grid width is calculated. Said active dither position represents the actual position within the grid being processed.

In a next step S2, a desired ablation value for the active dither position is obtained. In step S3 this desired ablation value is multiplied with a scaling factor f. The scaling factor f takes into account the different size of laser pulse and the positioning step, i.e., the grid width. More specifically, the scaling factor is calculated as follows to get the desired shot density at this position (see equation 3):

$f = \frac{\left( {{Grid}\mspace{14mu} {width}} \right)}{V\_ shot}$

For the above-mentioned grid having 256×256 values covering an area of 15² mm², the grid width is 15 mm/256=58 μm. Thus, the area of the smallest square the laser beam can be sent around is (58 μm)². Thus, the number of calculated pulses are reduced in order to take into account for the overlapping of laser pulses.

In a next step S4, weighted neighbouring errors are added to the scaled desired ablation value for the active dither position. These weighted neighbouring errors are preferably the weighted sum of errors of adjacent grid points that have already been processed. An example will be described later.

In a further step S5, a decision is made whether the obtained value is larger than a predetermined threshold. Thus, the sum of the value for the respective grid point and the weighted errors of adjacent grid points will be compared to this threshold value. If the value is not larger than the dynamic threshold T(x, y) step S9 follows. If the value is larger than the threshold, a laser pulse is set for this grid position in step S6. One laser pulse is subtracted from said density value. Then in step S7 it is determined whether a new value is still larger than the threshold. In case the new value is larger than the dynamic threshold in step S8, it is determined that an error of shot overflow occurred. In other words, if at a grid position it would be necessary to set more than laser pulse, the algorithm has to stop with an error. By the use of grid width calculated with equation 4 this error can be avoided. In this exemplary implementation of the error diffusion, a maximum of one laser pulse for each grid position is allowed.

On the other hand, if the new value is not larger than a dynamic threshold in step S9, this new value is stored as an error for this particular grid position. It will be used when processing neighbouring positions for the calculation with respect to further dither positions.

In the next step S10, it is decided whether the line is complete; if not, in step S11 a next point in the same line is selected as an active position and the before-mentioned processing is repeated. In case the line is complete, then in step S12 a decision has to be made whether there is a new line; if yes, then in step S13 a first point in the new line is selected as active position and the processing is repeated. Otherwise, if there is no new line, the processing ends with step S14. The before-mentioned grid point error represents the ablation error done at a particular grid point. For each grid point processed, this error is the sum of desired ablation value plus the weighted neighbouring errors minus the laser pulse ablation depth (if a laser pulse has been set for that position).

FIG. 4 shows an example for weighting of errors of neighbouring grid points. More specifically, FIG. 4 shows a sub-grid of 7×7 grid points, wherein the active dither position is shown in the middle. In this case, the weighting function is determined as 8/distance with a distance measured in units of grid points. The sum of the errors will then be normalised by a division with 70.736 which is the sum of all weighting factors used. As apparent from FIG. 4, the white positions indicate grid position not yet processed. Thus, before deciding whether a laser pulse has to be set at a given grid position, the error induced while processing adjacent grid points has to be added to the theoretical ablation value for that grid point. The errors of the neighbouring grid points are not simply added but weighted due to their distance to the active grid point. The respective weighting factors are shown in FIG. 4. It shall be noted that this is just one possible method for summing up the surrounding errors, which is working fine.

It shall be noted that the above described dither algorithm is only one example for using the present invention.

A laser shot sequence may be determined thereafter by using a separate sorting algorithm. A sorting may be performed in order to avoid thermal effects. Thus, any two following laser shots should preferably be placed at two grid positions at a distance from each other. Preferably, every four shots a laser shot is placed in the same region as the first shot.

The foregoing disclosure and description of the invention are illustrative and explanatory thereof and changes in the construction and method of operation may be made without departing from the scope of the invention. 

1. A method for calculating a laser shot file for use in an excimer laser preferably for performing a refractive laser treatment of an eye or for producing a customized contact lens or an intraocular lens comprising the steps of providing information with respect to a desired ablation profile and using a dither algorithm, wherein the dither algorithm is adapted to the desired ablation profile by using a dynamic threshold for calculating the laser shot file.
 2. The method of claim 1, further comprising the steps of using the dither algorithm for discretizing the desired ablation profile on a given grid and deciding for each grid position whether to place a laser shot of the excimer laser on said grid position.
 3. The method of claim 2, wherein the dither algorithm is using a cost function for determining for each grid position whether to place a laser shot of the excimer laser on said grid position.
 4. The method of any of the foregoing claims, further comprising the step of calculating a shot density for obtaining the desired ablation profile and wherein said dynamic threshold is defined depending on the calculated shot density of the desired ablation profile.
 5. The method of any of the foregoing claims, wherein at least two different threshold values are used depending on the desired ablation profile.
 6. The method of claim 5, wherein a first threshold value is used for a desired ablation profile having low shot densities and/or a second threshold value is used for a desired ablation profile having high shot densities, wherein said first threshold value is lower than said second threshold value.
 7. The method of claim 6, wherein the first threshold value is a value within a range of 0% to 20% of a maximum shot density of the desired ablation profile and/or the second threshold value is a value within a range of 20% to 80% of the maximum shot density and/or a third threshold value is a value within a range of 80% to 100% of the maximum shot density.
 8. The method of any of the foregoing claims, wherein the threshold value TV(x, y) is related to the shot density of the desired ablation profile D(x, y) according to the equation: TV(x,y)=f(D(x,y)).
 9. The method of any of the foregoing claims, wherein the threshold value TV(x, y) is linearly related to the shot density of the desired ablation profile D(x, y) according to the following equation: TV(x,y)=a D(x,y), wherein a is a factor within the range of 0<a≦1.5, more preferably 0.8≦a≦1.1 and most preferably a=1.
 10. The method of claim 9, wherein the threshold value is set to a value equal or nearby the value of the shot density.
 11. The method of any of the foregoing claims, wherein a grid width of the given grid is determined based on the calculated shot density of the desired ablation profile.
 12. The method of any of claims 2 to 111, wherein in the step of deciding whether to place a shot on a given grid position a corresponding decision with regard to grid positions in the neighborhood of the given grid position is taken into account.
 13. The method of any of the foregoing claims further comprising the step of dividing a desired ablation profile into at least two ablation sub-profiles, calculating the shot density of each of said ablation sub-profiles, and determining a respective grid width based on the respective calculated shot density of each of the ablation sub-profiles.
 14. The method of any of claims 2 to 13 further comprising the step of sorting the calculated placed laser shots.
 15. The method of any of the foregoing claims, wherein the excimer laser provides a laser beam at a spot size fixed between 0.5 mm and 3.5 mm in diameter, preferably at a spot size fixed between 1.0 to 2.0 mm in diameter.
 16. An apparatus for calculating a laser shot file for use in an excimer laser preferably for performing a refractive laser treatment of an eye or for producing a customized contact lens or an intraocular lens comprising means for providing information with respect to a desired ablation profile and using a dither algorithm, wherein the dither algorithm is adapted to the desired ablation profile by using a dynamic threshold for calculating the laser shot file.
 17. The apparatus of claim 16, further comprising when using the dither algorithm means for discretizing the desired ablation profile on a given grid and means for deciding for each grid position whether to place a laser shot of the excimer laser on said grid position.
 18. The apparatus of claim 17, wherein the dither algorithm is using a cost function for determining for each grid position whether to place a laser shot of the excimer laser on said grid position.
 19. The apparatus of any of claims 16 to 18, further comprising means for calculating a shot density for obtaining the desired ablation profile and wherein said dynamic threshold is defined depending on the calculated shot density of the desired ablation profile.
 20. The apparatus of any of claims 16 to 19, further comprising means for selecting at least two different threshold values depending on the desired ablation profile.
 21. The apparatus of claim 20, wherein a first threshold value is selected for a desired ablation profile having low shot densities and/or a second threshold value is selected for a desired ablation profile having high shot densities, wherein said first threshold value is lower than said second threshold value.
 22. The apparatus of claim 21, wherein the first threshold value is a value within a range of 0% to 20% of a maximum shot density of the desired ablation profile and/or the second threshold value is a value within a range of 20% to 80% of the maximum shot density and/or a third threshold value is a value within a range of 80% to 100% of the maximum shot density.
 23. The apparatus of any of claims 16 to 22, further comprising means for determining the threshold value TV(x, y) in relation to the shot density of the desired ablation profile D(x, y) according to the equation: TV(x,y)=f(D(x,y)).
 24. The apparatus of any of claims 16 to 22, further comprising means for determining the threshold value TV(x, y) as a linear relationship to the shot density of the desired ablation profile D(x, y) according to the following equation: TV(x,y)=a·D(x,y), wherein a is a factor within the range of 0<a≦1.5, more preferably 0.8≦a≦1.1 and most preferably a=1.
 25. The apparatus of claim 24, further comprising means for setting the threshold value to a value equal or nearby the value of the shot density.
 26. The apparatus of any of claims 16 to 25, further comprising means for determining a grid width of the given grid based on the calculated shot density of the desired ablation profile.
 27. The apparatus of any of claims 17 to 26, wherein said means for deciding whether to place a shot on a given grid position is using information regarding a corresponding decision with regard to grid positions in the neighborhood of the given grid position.
 28. The apparatus of any of claims 16 to 27 further comprising means for dividing a desired ablation profile into at least two ablation sub-profiles, means for calculating the shot density of each of said ablation sub-profiles, and means for determining a respective grid width based on the respective calculated shot density of each of the ablation sub-profiles.
 29. The apparatus of any of claims 17 to 28 further comprising means for sorting the calculated placed laser shots.
 30. The apparatus of any of claims 16 to 29, wherein the excimer laser provides a laser beam at a spot size fixed between 0.5 mm and 3.5 mm in diameters preferably at a spot size fixed between 1.0 to 2.0 mm in diameter. 